const baseUrl: string = 'http://localhost:10010' //测试环境
// const baseUrl: string = 'http://192.168.88.1:10010' //局域網测试环境

// JSON请求头
const jsonHeader = {
  'Content-Type': 'application/json',
  'Authorization-token': uni.getStorageSync('Authorization-token'),
}
// 上传请求头请求头
let uploadFileHeader = {
  'content-type': 'multipart/form-data', // 必须为 multipart/form-data 格式
  'Authorization-token': uni.getStorageSync('Authorization-token'),
}

export { baseUrl, jsonHeader, uploadFileHeader }
                                         